package com.yhm.dao;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

@Component("allDAO")
public class AllDAO {
	private OrderFromDAO orderFromDAO;
	private TraceDAO traceDAO;
	private RedoDAO redoDAO;
	private DepDAO depDAO;

	public OrderFromDAO getOrderFromDAO() {
		return orderFromDAO;
	}

	@Resource(name = "orderFromDAO")
	public void setOrderFromDAO(OrderFromDAO orderFromDAO) {
		this.orderFromDAO = orderFromDAO;
	}

	public TraceDAO getTraceDAO() {
		return traceDAO;
	}
	
	@Resource(name = "traceDAO")
	public void setTraceDAO(TraceDAO traceDAO) {
		this.traceDAO = traceDAO;
	}

	public RedoDAO getRedoDAO() {
		return redoDAO;
	}

	@Resource(name = "redoDAO")
	public void setRedoDAO(RedoDAO redoDAO) {
		this.redoDAO = redoDAO;
	}

	public DepDAO getDepDAO() {
		return depDAO;
	}

	@Resource(name = "depDAO")
	public void setDepDAO(DepDAO depDAO) {
		this.depDAO = depDAO;
	}

}
